package com.kykj.kykj.dao;

import com.kykj.kykj.entity.ArticlesNextReplyEntity;
import com.kykj.kykj.entity.ArticlesReplyEntity;
import com.kykj.kykj.vo.ArticlesNextReplyVo;
import com.kykj.kykj.vo.ArticlesReplyVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ArticlesNextReplyDao {
    List<ArticlesNextReplyEntity> getNextReplyList(@Param("replyId")int replyId );//根据回复id回复
    int addNextReply(@Param("articlesNextReplyVo") ArticlesNextReplyVo articlesNextReplyVo);//新增楼中楼
    int delNextReply(@Param("id") int id,@Param("userId")int userId);//删除楼中楼
    int upNextReply(@Param("articlesNextReplyVo") ArticlesNextReplyVo articlesNextReplyVo);//修改楼中楼
}
